Integrand size = 22, antiderivative size = 314 \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\frac {(b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} \sqrt {c+d x}}{128 b^5 d^2}+\frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {(b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{128 b^{11/2} d^{5/2}} \]
[Out]
Time = 0.21 (sec) , antiderivative size = 314, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {92, 81, 52, 65, 223, 212} \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\frac {(b c-a d)^3 \left (63 a^2 d^2+14 a b c d+3 b^2 c^2\right ) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{128 b^{11/2} d^{5/2}}+\frac {\sqrt {a+b x} \sqrt {c+d x} (b c-a d)^2 \left (63 a^2 d^2+14 a b c d+3 b^2 c^2\right )}{128 b^5 d^2}+\frac {\sqrt {a+b x} (c+d x)^{3/2} (b c-a d) \left (63 a^2 d^2+14 a b c d+3 b^2 c^2\right )}{192 b^4 d^2}+\frac {\sqrt {a+b x} (c+d x)^{5/2} \left (63 a^2 d^2+14 a b c d+3 b^2 c^2\right )}{240 b^3 d^2}-\frac {3 \sqrt {a+b x} (c+d x)^{7/2} (3 a d+b c)}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d} \]
[In]
[Out]
Rule 52
Rule 65
Rule 81
Rule 92
Rule 212
Rule 223
Rubi steps \begin{align*} \text {integral}& = \frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\int \frac {(c+d x)^{5/2} \left (-a c-\frac {3}{2} (b c+3 a d) x\right )}{\sqrt {a+b x}} \, dx}{5 b d} \\ & = -\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \int \frac {(c+d x)^{5/2}}{\sqrt {a+b x}} \, dx}{80 b^2 d^2} \\ & = \frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left ((b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right )\right ) \int \frac {(c+d x)^{3/2}}{\sqrt {a+b x}} \, dx}{96 b^3 d^2} \\ & = \frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left ((b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right )\right ) \int \frac {\sqrt {c+d x}}{\sqrt {a+b x}} \, dx}{128 b^4 d^2} \\ & = \frac {(b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} \sqrt {c+d x}}{128 b^5 d^2}+\frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left ((b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right )\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{256 b^5 d^2} \\ & = \frac {(b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} \sqrt {c+d x}}{128 b^5 d^2}+\frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left ((b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{128 b^6 d^2} \\ & = \frac {(b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} \sqrt {c+d x}}{128 b^5 d^2}+\frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {\left ((b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{128 b^6 d^2} \\ & = \frac {(b c-a d)^2 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} \sqrt {c+d x}}{128 b^5 d^2}+\frac {(b c-a d) \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{3/2}}{192 b^4 d^2}+\frac {\left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \sqrt {a+b x} (c+d x)^{5/2}}{240 b^3 d^2}-\frac {3 (b c+3 a d) \sqrt {a+b x} (c+d x)^{7/2}}{40 b^2 d^2}+\frac {x \sqrt {a+b x} (c+d x)^{7/2}}{5 b d}+\frac {(b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{128 b^{11/2} d^{5/2}} \\ \end{align*}
Time = 0.62 (sec) , antiderivative size = 244, normalized size of antiderivative = 0.78 \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\frac {\sqrt {a+b x} \sqrt {c+d x} \left (945 a^4 d^4-210 a^3 b d^3 (11 c+3 d x)+2 a^2 b^2 d^2 \left (782 c^2+749 c d x+252 d^2 x^2\right )-2 a b^3 d \left (45 c^3+481 c^2 d x+592 c d^2 x^2+216 d^3 x^3\right )+b^4 \left (-45 c^4+30 c^3 d x+744 c^2 d^2 x^2+1008 c d^3 x^3+384 d^4 x^4\right )\right )}{1920 b^5 d^2}+\frac {(b c-a d)^3 \left (3 b^2 c^2+14 a b c d+63 a^2 d^2\right ) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{128 b^{11/2} d^{5/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(787\) vs. \(2(270)=540\).
Time = 0.58 (sec) , antiderivative size = 788, normalized size of antiderivative = 2.51
method | result | size |
default | \(-\frac {\sqrt {d x +c}\, \sqrt {b x +a}\, \left (-768 b^{4} d^{4} x^{4} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+864 a \,b^{3} d^{4} x^{3} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}-2016 b^{4} c \,d^{3} x^{3} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}-1008 a^{2} b^{2} d^{4} x^{2} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+2368 a \,b^{3} c \,d^{3} x^{2} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}-1488 b^{4} c^{2} d^{2} x^{2} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+945 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{5} d^{5}-2625 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{4} b c \,d^{4}+2250 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{3} b^{2} c^{2} d^{3}-450 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b^{3} c^{3} d^{2}-75 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{4} c^{4} d -45 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) b^{5} c^{5}+1260 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a^{3} b \,d^{4} x -2996 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a^{2} b^{2} c \,d^{3} x +1924 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a \,b^{3} c^{2} d^{2} x -60 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, b^{4} c^{3} d x -1890 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a^{4} d^{4}+4620 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a^{3} b c \,d^{3}-3128 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a^{2} b^{2} c^{2} d^{2}+180 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, a \,b^{3} c^{3} d +90 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}\, b^{4} c^{4}\right )}{3840 b^{5} d^{2} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}}\) | \(788\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 706, normalized size of antiderivative = 2.25 \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\left [-\frac {15 \, {\left (3 \, b^{5} c^{5} + 5 \, a b^{4} c^{4} d + 30 \, a^{2} b^{3} c^{3} d^{2} - 150 \, a^{3} b^{2} c^{2} d^{3} + 175 \, a^{4} b c d^{4} - 63 \, a^{5} d^{5}\right )} \sqrt {b d} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} - 4 \, {\left (2 \, b d x + b c + a d\right )} \sqrt {b d} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) - 4 \, {\left (384 \, b^{5} d^{5} x^{4} - 45 \, b^{5} c^{4} d - 90 \, a b^{4} c^{3} d^{2} + 1564 \, a^{2} b^{3} c^{2} d^{3} - 2310 \, a^{3} b^{2} c d^{4} + 945 \, a^{4} b d^{5} + 144 \, {\left (7 \, b^{5} c d^{4} - 3 \, a b^{4} d^{5}\right )} x^{3} + 8 \, {\left (93 \, b^{5} c^{2} d^{3} - 148 \, a b^{4} c d^{4} + 63 \, a^{2} b^{3} d^{5}\right )} x^{2} + 2 \, {\left (15 \, b^{5} c^{3} d^{2} - 481 \, a b^{4} c^{2} d^{3} + 749 \, a^{2} b^{3} c d^{4} - 315 \, a^{3} b^{2} d^{5}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{7680 \, b^{6} d^{3}}, -\frac {15 \, {\left (3 \, b^{5} c^{5} + 5 \, a b^{4} c^{4} d + 30 \, a^{2} b^{3} c^{3} d^{2} - 150 \, a^{3} b^{2} c^{2} d^{3} + 175 \, a^{4} b c d^{4} - 63 \, a^{5} d^{5}\right )} \sqrt {-b d} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {-b d} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (b^{2} d^{2} x^{2} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x\right )}}\right ) - 2 \, {\left (384 \, b^{5} d^{5} x^{4} - 45 \, b^{5} c^{4} d - 90 \, a b^{4} c^{3} d^{2} + 1564 \, a^{2} b^{3} c^{2} d^{3} - 2310 \, a^{3} b^{2} c d^{4} + 945 \, a^{4} b d^{5} + 144 \, {\left (7 \, b^{5} c d^{4} - 3 \, a b^{4} d^{5}\right )} x^{3} + 8 \, {\left (93 \, b^{5} c^{2} d^{3} - 148 \, a b^{4} c d^{4} + 63 \, a^{2} b^{3} d^{5}\right )} x^{2} + 2 \, {\left (15 \, b^{5} c^{3} d^{2} - 481 \, a b^{4} c^{2} d^{3} + 749 \, a^{2} b^{3} c d^{4} - 315 \, a^{3} b^{2} d^{5}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{3840 \, b^{6} d^{3}}\right ] \]
[In]
[Out]
\[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\int \frac {x^{2} \left (c + d x\right )^{\frac {5}{2}}}{\sqrt {a + b x}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 885 vs. \(2 (270) = 540\).
Time = 0.40 (sec) , antiderivative size = 885, normalized size of antiderivative = 2.82 \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\frac {\frac {80 \, {\left (\sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \sqrt {b x + a} {\left (2 \, {\left (b x + a\right )} {\left (\frac {4 \, {\left (b x + a\right )}}{b^{2}} + \frac {b^{6} c d^{3} - 13 \, a b^{5} d^{4}}{b^{7} d^{4}}\right )} - \frac {3 \, {\left (b^{7} c^{2} d^{2} + 2 \, a b^{6} c d^{3} - 11 \, a^{2} b^{5} d^{4}\right )}}{b^{7} d^{4}}\right )} - \frac {3 \, {\left (b^{3} c^{3} + a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - 5 \, a^{3} d^{3}\right )} \log \left ({\left | -\sqrt {b d} \sqrt {b x + a} + \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \right |}\right )}{\sqrt {b d} b d^{2}}\right )} c^{2} {\left | b \right |}}{b^{2}} + \frac {20 \, {\left (\sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} {\left (2 \, {\left (b x + a\right )} {\left (4 \, {\left (b x + a\right )} {\left (\frac {6 \, {\left (b x + a\right )}}{b^{3}} + \frac {b^{12} c d^{5} - 25 \, a b^{11} d^{6}}{b^{14} d^{6}}\right )} - \frac {5 \, b^{13} c^{2} d^{4} + 14 \, a b^{12} c d^{5} - 163 \, a^{2} b^{11} d^{6}}{b^{14} d^{6}}\right )} + \frac {3 \, {\left (5 \, b^{14} c^{3} d^{3} + 9 \, a b^{13} c^{2} d^{4} + 15 \, a^{2} b^{12} c d^{5} - 93 \, a^{3} b^{11} d^{6}\right )}}{b^{14} d^{6}}\right )} \sqrt {b x + a} + \frac {3 \, {\left (5 \, b^{4} c^{4} + 4 \, a b^{3} c^{3} d + 6 \, a^{2} b^{2} c^{2} d^{2} + 20 \, a^{3} b c d^{3} - 35 \, a^{4} d^{4}\right )} \log \left ({\left | -\sqrt {b d} \sqrt {b x + a} + \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \right |}\right )}{\sqrt {b d} b^{2} d^{3}}\right )} c d {\left | b \right |}}{b^{2}} + \frac {{\left (\sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} {\left (2 \, {\left (4 \, {\left (b x + a\right )} {\left (6 \, {\left (b x + a\right )} {\left (\frac {8 \, {\left (b x + a\right )}}{b^{4}} + \frac {b^{20} c d^{7} - 41 \, a b^{19} d^{8}}{b^{23} d^{8}}\right )} - \frac {7 \, b^{21} c^{2} d^{6} + 26 \, a b^{20} c d^{7} - 513 \, a^{2} b^{19} d^{8}}{b^{23} d^{8}}\right )} + \frac {5 \, {\left (7 \, b^{22} c^{3} d^{5} + 19 \, a b^{21} c^{2} d^{6} + 37 \, a^{2} b^{20} c d^{7} - 447 \, a^{3} b^{19} d^{8}\right )}}{b^{23} d^{8}}\right )} {\left (b x + a\right )} - \frac {15 \, {\left (7 \, b^{23} c^{4} d^{4} + 12 \, a b^{22} c^{3} d^{5} + 18 \, a^{2} b^{21} c^{2} d^{6} + 28 \, a^{3} b^{20} c d^{7} - 193 \, a^{4} b^{19} d^{8}\right )}}{b^{23} d^{8}}\right )} \sqrt {b x + a} - \frac {15 \, {\left (7 \, b^{5} c^{5} + 5 \, a b^{4} c^{4} d + 6 \, a^{2} b^{3} c^{3} d^{2} + 10 \, a^{3} b^{2} c^{2} d^{3} + 35 \, a^{4} b c d^{4} - 63 \, a^{5} d^{5}\right )} \log \left ({\left | -\sqrt {b d} \sqrt {b x + a} + \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \right |}\right )}{\sqrt {b d} b^{3} d^{4}}\right )} d^{2} {\left | b \right |}}{b^{2}}}{1920 \, b} \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 (c+d x)^{5/2}}{\sqrt {a+b x}} \, dx=\int \frac {x^2\,{\left (c+d\,x\right )}^{5/2}}{\sqrt {a+b\,x}} \,d x \]
[In]
[Out]